﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ScannerApp.Forms
{
    public partial class QuantityPopupForm : Form
    {
        private float mQuantity;

        public float Quantity
        {
            get { return mQuantity; }
            set { mQuantity = value; }
        }

        public QuantityPopupForm()
        {
            InitializeComponent();
            Quantity = 1;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void numericUpDown1_ValueChanged(object sender, EventArgs e)
        {
            Quantity = (float)numericUpDown1.Value;
        }
    }
}